package com.aaa.service.impl;

import com.aaa.dao.StatsDao;
import com.aaa.dto.FundDto;
import com.aaa.service.StatsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class StatsServiceImpl implements StatsService {
    @Autowired
    private StatsDao statsDao;
    @Override
    public List<FundDto> findFund() {
        return statsDao.findFund();
    }
}
